﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="TSL.AdjustAngle"
        Title="AdjustAngle" Height="300" Width="300">
    <Grid Background="#FF32A4D6">
        <Slider Height="171" HorizontalAlignment="Right" Interval="1" IsSnapToTickEnabled="True" Margin="0,26,83,0" Maximum="27" Minimum="-27" x:Name="slider1" Orientation="Vertical" SmallChange="1" TickPlacement="TopLeft" VerticalAlignment="Top" Width="38" Foreground="White" />
        <Label Content="{Binding Value, ElementName=slider1}" FontSize="36" Height="61" HorizontalAlignment="Left" Margin="201,80,0,0" x:Name="label1" VerticalAlignment="Top" Foreground="White" />
        <Button Content="Set Tilt" FontSize="28" Height="51" HorizontalAlignment="Left" Margin="20,92,0,0" x:Name="button1" VerticalAlignment="Top" Width="122" Click="button1_Click" Background="#FF622B82" Foreground="White" BorderBrush="{x:Null}" />
        <Label Content="Current Angle:" FontSize="18" Height="61" HorizontalAlignment="Left" Margin="12,209,0,0" x:Name="label2" VerticalAlignment="Top" Foreground="White" />
        <Label Content="..." FontSize="36" Height="61" HorizontalAlignment="Left" Margin="151,190,0,0" x:Name="lblCurrentAngle" VerticalAlignment="Top" Width="123" Foreground="White" />
    </Grid>
</Window>
